package com.bao.work;

import java.util.Scanner;

/**
 * @author baoye
 * @date 2024-07-24/18:45
 */
public class StringClass06 {
    public static void main(String[] args) {
        String str=new Scanner(System.in).next();
        for(int start=0,end=str.length()-1;start<=end;start++,end--){
            if(str.charAt(start)!=str.charAt(end)){
                System.out.println("不是回文");
                return;
            }
        }
        System.out.println("是回文");
    }
}
